package commands;

import model.Engine;

/**
 * Commande destinee a arreter le metronome.
 */
public class ControllerToEngineStopCommand implements Command {

	private Engine engine;
	
	public ControllerToEngineStopCommand(Engine engine) {
		this.engine = engine;
	}
	
	public void execute() {
		engine.setStarted(false);
	}

}
